package com.huage.courseplatform.application.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huage.courseplatform.application.model.dto.CourseDTO;
import com.huage.courseplatform.application.model.entity.Course;
import com.huage.courseplatform.application.model.entity.Period;
import com.huage.courseplatform.application.model.entity.Teacher;
import com.huage.courseplatform.application.model.vo.BusinessTeacherFlowRecordVO;
import com.huage.courseplatform.application.model.vo.CoursePeriodVO;
import com.huage.courseplatform.framework.core.IBaseService;

import java.util.List;

public interface CourseService extends IBaseService<Course> {
     void addCourse(Course course,List<String> periodIdList);

     CoursePeriodVO getCourseAndPeriodById(String id);

     void updateCourse(Course course,List<String> periodIdList);

     Page<CourseDTO> coursePage(Page page, QueryWrapper queryWrapper);

     List<String> getUserIdListByCourseId(String courseId);
}
